Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_SW_INQGEOFIELDS

EOS_SW_INQGEOFIELDS

This function retrieves information about all of the geolocation fields defined in swath. The field list is returned as a string with each geolocation field separated by commas. The rank and numbertype arrays will have an entry for each field.

Note: See STRSPLIT to separate the field list.

Syntax

Result = EOS_SW_INQGEOFIELDS(swathID, fieldlist, rank, numbertype)

Return Value

Returns number of geolocation fields found. If –1, could signify an improper swath id.

Arguments

swathID

Swath id (long) returned by EOS_SW_CREATE or EOS_SW_ATTACH.

fieldlist

A named variable that will contain the listing of geolocation fields (string) with entries separated by commas.

rank

A named variable that will contain an array (long) of the rank of each geolocation field.

numbertype

A named variable that will contain an array (long) of the numbertype of each geolocation field.

Keywords

None

Examples

nflds = EOS_SW_INQGEOFIELDS(swathID, fieldlist, rank, numbertype)

Version History

 

5.2

Introduced